<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,viewport-fit=cover,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
    <title>尤迈桃李会</title>
    <script src="js/rem.js"></script>
    <link rel="stylesheet" href="https://g.alicdn.com/de/prismplayer/2.8.2/skins/default/aliplayer-min.css" />
    <link rel="stylesheet" href="css/weui.min.css">
    <link rel="stylesheet" href="css/jquery-weui.min.css">
    <link rel="stylesheet" href="css/public.css">
    <link rel="stylesheet" href="css/index.css">
    <script>(function() {var _53code = document.createElement("script");_53code.src = "https://tb.53kf.com/code/code/96d8f960b261e49515450f8953b044bc5/1";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(_53code, s);})();</script>
</head>
<body>
    <div class="pub-container new-detail bgwhite" id="detailBox">
        <!-- <h2 class="title plr15">尤迈慈善基金会“互联网+医疗”精准健康扶贫研讨会召开</h2>
        <div class="video-wrapper">
            <div class="video-box plr15">
                <a href="#">
                    <img class="img-cover" src="image/placeholder/1.jpg" alt="">
                    <i class="pub-i-play"></i>
                </a>
            </div>
        </div>
        <p class="desc plr15">案例简介</p>
        <div class="rich-text plr15">
            <p style="text-indent: 2em;">6月14日下午，由北京尤迈慈善基金会组的“互联网+医疗”精准健康扶贫研讨会在北京尤迈诊所举行。 </p>
            <p style="text-indent: 2em;">“尤迈健康扶贫”项目是由国家卫健委和国务院扶贫办支持指导下的扶贫公益项目。在以北京协和医院退休老专家为首的专家队伍的参与下，推行公平可及的医疗服务，对分级诊疗进行实践摸索。贫困人口“足不出县”就能看协和专家，基层医生在看诊过程中也能接受北京专家的指导。</p>
        </div> -->
    </div>
    <!-- 视频播放弹窗 -->
    <div class="video popup">
        <div class="cont" id="player">
        </div>
    </div>
    <script src="https://g.alicdn.com/de/prismplayer/2.9.3/aliplayer-h5-min.js"></script>
    <script src="js/jquery-3.6.0.min.js"></script>
    <script src="js/jquery-weui.min.js"></script>
    <script src="js/md5.js"></script>
    <script src="js/public.js"></script>
    <script>
        var type = getQueryString('type')
            ,id = getQueryString('id');
        // 案列、资讯配置参数
        var config = {
            case: ['/ad/getExampleDetail', '案例简介', 'exampleId'],
            new: ['/ad/getNewsDetail', '资讯详情', 'newsId']
        }
        var curConf = config[type];

        function getDetail(){
            var data = {};
            data[curConf[2]] = id;
            http(curConf[0], {
                hasToken: false,
                data: data,
                success: function(res){
                    if(res.code === '01'){
                        var data = res.data, html = '';
                        html += '<h2 class="title plr15">' + data.title + '</h2>' + 
                            '<div class="video-wrapper">' + 
                                '<div class="video-box plr15">';
                                if(data.videoId){
                                    html += '<div data-videoId="' + data.videoId + '">' + 
                                    '<img class="img-cover" src="' + data.file.uploadUrl + '">' + 
                                    '<i class="pub-i-play"></i>'
                                }else {
                                    html += '<div>' + 
                                    '<img class="img-cover" src="' + data.file.uploadUrl + '">'
                                }
                            html += '</div>' + 
                                '</div>' + 
                            '</div>' + 
                            '<p class="desc plr15">' + curConf[1] + '</p>' + 
                            '<div class="rich-text plr15">' + data.detail + 
                            '</div>'; 
                        $('#detailBox').html(html);
                    }
                }
            })
        }
        getDetail();
        
    </script>
</body>
</html>